﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _2._23._2015_GroceryList
{
    public static class ExtensionHelpers
    {
        public static int WordCount(this string text)
        {
            return text.Split(' ').Length;
        }
    }
}
